package com.example.register.center.api;

import com.example.common.config.ServiceDefinition;
import com.example.common.config.ServiceInstance;

import java.util.Set;

/**
 * @Author Peng Yisheng
 * @Date 2024/11/23 11:35
 * @Description 注册中心监听器
 */
public interface RegisterCenterListener {
    void onChange(ServiceDefinition serviceDefinition, Set<ServiceInstance> serviceInstanceSet);
}
